<template>
  <div>
    <div class="resource-manage">
      <div class="card-box">
        <v-dialog :show.sync="dialogVisible" @beforeClose="beforeClose" width="80%" title="新增申请单位">
          <div class="card-title">新增政府投资项目资产扫描</div>
          <div class="box b-0">
            <div class="box-header with-border">
              <h6 class="box-subtitle">
                <div class="float-left w-p50">
                  <textarea rows="2" class="form-control" placeholder="拖拽或上传待扫描的文件"></textarea>
                </div>
                <div class="float-left ml-20 pt-10">
                  <button type="button" class="btn btn-info btn-outline">上传</button>
                  <button type="button" class="btn btn-info btn-outline">提取</button>
                </div>
              </h6>
            </div>
            <div class="box-body">
              <div class="row">
                <div class="form-group b-1 col-lg-6 col-md-6 col-sm-12" style="height:400px">
                  <div style="padding:100px;text-align:center">这里是扫描的图片</div>
                </div>
                <div class="form-group b-1 col-lg-6 col-md-6 col-sm-12" style="height:400px">
                  <div style="padding:100px;text-align:center">这里是扫描的图片</div>
                </div>
              </div>
            </div>
          </div>
          <div slot="foot" style="text-align: center;height: 50px;  padding:10px;">
            <el-button type="primary" size="small" style="width: 80px" plain>编辑</el-button>
            <el-button size="small" style="width: 80px">保存</el-button>
            <el-button type="primary" size="small" style="width: 80px">发布</el-button>
          </div>
        </v-dialog>
      </div>
    </div>
  </div>
</template>

<script>

export default {
  data () {
    return {
      //弹出框 初始时隐藏
      dialogVisible: false,

      //上传文件相关
      busId: '',
      modelType: 'asset-registration',
      url: '/admin/sys-file/upLodeFileEdit',
      fileList: [],
    }
  },
  methods: {
    /**
     * 示新增弹框
     */
    show (rowData) {
      this.loading = false
      this.dialogVisible = true
    },

    /**
     * 关闭弹窗
     * @param done
     */
    beforeClose (done) {
      this.dialogVisible = false
      done()
    },
  },
}
</script>

<style scoped lang="scss">
@import "./registration-add";

@include formWrap(4);
</style>
